package com.assignwork.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ThroughPutStatisticsVO {
    @ApiModelProperty(name = "id")
    private String id;
    @Excel(name = "统计时间", orderNum = "1", type = 1, width = 30,format = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @ApiModelProperty(name = "统计时间")
    private Date statTime;
    @ApiModelProperty(name = "船名")
    @Excel(name = "船名", orderNum = "1", type = 1, width = 20)
    private String shipNameZh;

    @Excel(name = "泊位", orderNum = "1", type = 1, width = 10)
    @ApiModelProperty(name = "泊位")
    private String berthName;


    @Excel(name = "进出口", orderNum = "1", type = 1, width = 20)
    @ApiModelProperty(name = "进出口")
    private String impExp;
    @Excel(name = "内外贸", orderNum = "1", type = 1, width = 20)
    @ApiModelProperty(name = "内外贸")
    private String tradeType;
    @Excel(name = "吞吐量合计", orderNum = "1", type = 1, width = 20)
    @ApiModelProperty(name = "吞吐量")
    private String totalTon;
    @Excel(name = "吞吐量货类", orderNum = "1", type = 1, width = 20)
    @ApiModelProperty(name = "货类")
    private String ttlhl;
    @Excel(name = "货名", orderNum = "1", type = 1, width = 20)
    @ApiModelProperty(name = "货名")
    private String cargoTypeName;
    @Excel(name = "包装", orderNum = "1", type = 1, width = 20)
    @ApiModelProperty(name = "包装")
    private String packageBulkKey;
    @Excel(name = "吞吐量", orderNum = "1", type = 1, width = 20)
    @ApiModelProperty(name = "吞吐量")
    private String visaTon;

    @Excel(name = "开工时间", orderNum = "1", type = 1, width = 30,format = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @ApiModelProperty(name = "开工时间")
    private Date beginTime;

    @Excel(name = "完工时间", orderNum = "1", type = 1, width = 30,format = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @ApiModelProperty(name = "完工时间")
    private Date endTime;


    @Excel(name = "离港时间", orderNum = "1", type = 1, width = 30,format = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @ApiModelProperty(name = "离港时间")
    private Date unberthingTime;
    @Excel(name = "航次", orderNum = "1", type = 1, width = 20)
    @ApiModelProperty(name = "航次")
    private String voyage;
        @Excel(name = "净吨", orderNum = "1", type = 1, width = 20)
    @ApiModelProperty(value = "净吨")
    private BigDecimal netWeight;
    @Excel(name = "载重吨", orderNum = "1", type = 1, width = 20)
    @ApiModelProperty(value = "载重吨")
    private BigDecimal deadWeightTon;
    @Excel(name = "是否补录", orderNum = "1", type = 1, width = 20)
    @ApiModelProperty(value = "是否补录")
    private Integer isSupplement;

    @Excel(name = "记录人", orderNum = "1", type = 1, width = 20)
    @ApiModelProperty(name = "记录人")
    private String createUserName;

    @Excel(name = "记录时间", orderNum = "1", type = 1, width = 30,format = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @ApiModelProperty(name = "记录时间")
    private Date createTime;

    @Excel(name = "修改人", orderNum = "1", type = 1, width = 20)
    @ApiModelProperty(name = "修改人")
    private String updateUserName;


    @Excel(name = "修改时间", orderNum = "1", type = 1, width = 30,format = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm"
    )
    @ApiModelProperty(name = "修改时间")
    private Date updateTime;
    @ApiModelProperty(name = "航次ID")
    private String voyageId;
    @ApiModelProperty(name = "吞吐量货类Id")
    private String ttlhlId;

    @ApiModelProperty(name = "货名")
    private String CARGOCOD;
    @ApiModelProperty(name = "泊位")
    private String berthCode;


    @ApiModelProperty(name = "货名CODE")
    private String reCargoNameKey;
    @ApiModelProperty(name = "包装")
    private String packageBulkKeyList;

    @ApiModelProperty(name = "散杂")
    private String sz;

    @ApiModelProperty(name = "吞吐量货名")
    private String ttlhlName;
    //    private String CARGOKINDNAM;
//    private String CARGOKINDCOD;
    @ApiModelProperty(name = "是否来自华东")
    private String fromHuadong;

    @ApiModelProperty(name = "修改人")
    private String updateUser;
    @ApiModelProperty(name = "记录人")
    private String createUser;
    private BigDecimal sumThroughPut;
    private Integer totalCount;





}
